Update config.h.win32.in for Visual C++ 2013
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 18 Dec 2013 03:41:53 +0000 (11:41 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 18 Dec 2013 03:43:49 +0000 (11:43 +0800)
A number of C99 math.h functions, along with inttypes.h were included for
Visual C++ 2013, along with much improved C99 capabilities, so update
config.h.win32.in to reflect this.

config.h.win32.in

index 3ab94022dd67329a8758d76904e7022e8ec3638f..8674291207149a38c5c1f7e191e60e25a25fe515 100644 (file)
 
 /* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
    */
-#ifndef _MSC_VER
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
 #define HAVE_DECL_ISINF 1
 #endif
 
 /* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
    */
-#ifndef _MSC_VER
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
 #define HAVE_DECL_ISNAN 1
 #endif
 
@@ -82,7 +82,7 @@
 /* #undef HAVE_HTTP_AUTHSTRING */
 
 /* Define to 1 if you have the <inttypes.h> header file. */
-#ifndef _MSC_VER
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
 #define HAVE_INTTYPES_H 1
 #else
 /* #undef HAVE_INTTYPES_H */
 /* #undef HAVE_MMAP */
 
 /* Define to 1 if nearbyint() is available */
-#ifndef _MSC_VER
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
 #define HAVE_NEARBYINT 1
 #endif
 
 /* #undef HAVE_RANDR */
 
 /* Define to 1 if rint() is available */
-#ifndef _MSC_VER
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
 #define HAVE_RINT 1
 #endif
 
 /* Define to 1 if round() is available */
-#ifndef _MSC_VER
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
 #define HAVE_ROUND 1
 #endif